var initialOptions = false
function login(state = initialOptions, action) {
  //2.创建数据中心
  console.log(action.type,action.payload)

  switch (action.type) {
    case "LOGIN": 
    return action.payload ;
    case 'LOGINFALSE': 
    return action.payload ;

    default: 
      return state;
  }
}

export default login;
